package cn.gene.timeyan.security.sso.mapper.admin;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Qualifier;

import java.util.List;

/**
 * * <p> 权限表 Mapper 接口</p>  *
 * <li>代码排版，添加注释</li>  *
 * <li>添加@Repository注解</li>  *
 * <li>把selectPermissionsByAdminId()参数名称从id改为adminId</li>  *
 * <li>把selectPermissionsByAdminId()返回值List元素类型从Permission改为String</li>  *
 * <li>修改对应的SQL，添加distinct，避免查询结果的权限是重复的，无意义</li>  *
 * <li>把selectPermissionsByAdminId()方法名改为findPermissionsByAdminId</li>  *
 * </ul>*
 *
 * @author LWG
 * @date 2022/7/22 15:20
 * @since 1.0.0@gene.cn
 */
@Qualifier("db1SqlSessionTemplate")
public interface PermissionMapper{


}
